<?php
namespace app\index\controller;



use app\comment\sms\Test;
use app\comment\sms\SendTemplateSMS;

class Index
{
    PUBLIC FUNCTION index1()
    {
//         RETURN '<HEAD><META CHARSET="UTF-8"></HEAD><STYLE TYPE="TEXT/CSS">*{ PADDING: 0; MARGIN: 0; } .THINK_DEFAULT_TEXT{ PADDING: 4PX 48PX;} A{COLOR:#2E5CD5;CURSOR: POINTER;TEXT-DECORATION: NONE} A:HOVER{TEXT-DECORATION:UNDERLINE; } BODY{ BACKGROUND: #FFF; FONT-FAMILY: "CENTURY GOTHIC","MICROSOFT YAHEI"; COLOR: #333;FONT-SIZE:18PX} H1{ FONT-SIZE: 100PX; FONT-WEIGHT: NORMAL; MARGIN-BOTTOM: 12PX; } P{ LINE-HEIGHT: 1.6EM; FONT-SIZE: 42PX }</STYLE><DIV STYLE="PADDING: 24PX 48PX;"> <H1>:)</H1><P> THINKPHP V5.1<BR/><SPAN STYLE="FONT-SIZE:30PX">十年磨一剑 - 为API开发设计的高性能框架</SPAN></P></DIV><SCRIPT TYPE="TEXT/JAVASCRIPT" SRC="HTTP://TAJS.QQ.COM/STATS?SID=9347272" CHARSET="UTF-8"></SCRIPT></SCRIPT><THINKAD ID="AD_BD568CE7058A1091"></THINKAD>';
         echo Test::index();
//         print_r("123123");
    }

    PUBLIC FUNCTION index($NAME = 'THINKPHP5')
    {
        RETURN 'HELLO123,' . $NAME;
    }   
    
    PUBLIC   function test()
    {
        echo SendTemplateSMS::sendTemplateSMS("13382058445", array('6532','5'), 1);
    }
}
